{% macro edit(link, opts) %}
    <a href="{{ link }}" class="{{ opts.class }}" id="{{ opts.id }}"><img src="images/icons/edit.png" width="14" height="14" /></a>
{% endmacro %}
{% macro delete(link, opts) %}
	{% if opts.confirm %}
    <a href="{{ link }}" class="link-confirm {{ opts.class }}" id="{{ opts.id }}" confirm="{{ opts.confirm }}">
	{% else %}
    <a href="{{ link }}" class="{{ opts.class }}" id="{{ opts.id }}">
	{% endif %}
		<img src="images/icons/delete.png" width="14" height="14" />
	</a>
{% endmacro %}
{% macro add(link, opts) %}
    <a href="{{ link }}" class="{{ opts.class }}" id="{{ opts.id }}"><img src="images/icons/add.png" width="14" height="14" /></a>
{% endmacro %}
